function [cfarResult] = simpleCfarPeak1(cfarCfg, inPow)
dim1A           = cfarCfg.dim1A;
dim1B           = 20;

dim2A           = cfarCfg.dim2A;
dim2B           = cfarCfg.dim2B;

cfarResult.nPoint = 0;
for iDop = dim2A : dim2B
    for iRng = dim1A : dim1B
        tmp = inPow(iRng,iDop);
    end
end


powTh = 8000;
for iDop = dim2A : dim2B
    maxPow = 0;
    maxPowIdxR = 0;
    for iRng = dim1A : dim1B
        tmp = inPow(iRng,iDop);
        if maxPow < tmp
            maxPow = tmp;
            maxPowIdxR = iRng;
        end
    end
    if maxPow < powTh
        continue;
    end
    cfarResult.nPoint = cfarResult.nPoint + 1;
    cfarResult.info(cfarResult.nPoint).d1Idx  = maxPowIdxR;
    cfarResult.info(cfarResult.nPoint).d2Idx  = iDop;
    cfarResult.info(cfarResult.nPoint).d12Pow  = maxPow;
    tmp = maxPow * 5 / 10;
    for iRng = 2 : 20
        powTmp1 = inPow(iRng,iDop);
        if (iRng == maxPowIdxR) || (powTmp1 < powTh)
            continue;
        end
        if (iRng + 0 < maxPowIdxR) || (iRng > maxPowIdxR + 0)
            if (powTmp1 < inPow(iRng - 1,iDop)) || (powTmp1 < inPow(iRng + 1,iDop))
                continue;
            end
        else
            if powTmp1 < tmp
                continue;
            end
        end
        cfarResult.nPoint = cfarResult.nPoint + 1;
        cfarResult.info(cfarResult.nPoint).d1Idx  = iRng;
        cfarResult.info(cfarResult.nPoint).d2Idx  = iDop;
        cfarResult.info(cfarResult.nPoint).d12Pow  = powTmp1;
    end
end


end